package org.f0rb.core.web;

/**
 * Class org.f0rb.demo.service description goes here.
 *
 * @param <T> {@link WebModel}的子类
 * @author Administrator
 * @version 1.0.0 11-7-14
 */
public interface WebService<T extends WebModel<?>> {

    /**
     * Service execute.
     *
     * @param t THe child object of _DTO with a filed {@link WebModel#serviceName}
     *          to determin which service to execute.
     * @return one of {@link org.f0rb.demo.model.user.UserServiceResult}
     * @see org.f0rb.demo.model.user.UserServiceResult
     */
    String execute(T t);

}
